<?php

// +----------------------------------------------------------------------
// | H1CMS © OpenSource CMS
// +----------------------------------------------------------------------
// | Copyright (c) 2014-2016 http://www.h1cms.com All rights reserved.
// | Copyright (c) 2014-2016 嘉兴领格信息技术有限公司，并保留所有权利。
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Allen <allen@lg4.cn>
// +----------------------------------------------------------------------

return [
    'sort_order' => 999,
    'label' => __('用户管理'),
    'permission' => 'admin.menu.users',
    'link' => '',
    'icon' => 'fa fa-users',
    'submenu' => [
        [
            'label' => __('用户管理'),
            'link' => url_for('/users/'),
            'permission' => 'admin.menu.users.index.index',
        ],
        [
            'label' => __('添加用户'),
            'link' => url_for('/users/?action=add'),
            'permission' => 'admin.menu.users.index.add',
        ],
        [
            'label' => __('角色管理'),
            'link' => url_for('/users/roles.php'),
            'permission' => 'admin.menu.users.roles.index',
        ]
    ]
];

